package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Role;

import java.util.List;

/**
 * @author likun
 * @version V1.0
 * @date 2020/3/10 10:41
 */
public interface LkRoleService {
    /**
     * 查询所有角色数据
     * @return
     */
    List<Role> findAllRole();
    void updatePermission4Role(Integer currentId,Integer[] rolePermissionIds);
    void addRole(Role role,Integer[] rolePermissionIds,Integer[] roleMenuIds);
    PageResult findPage(QueryPageBean pageBean);
    void deleteRole(Integer id);


}
